/* -- Extra CSS styles for content (RTD theme) ----------------------- */

/* make the page width fill the window */
.wy-nav-content {
   max-width: 1080px;
}

/* increase the size of the side bar from 300px default to 320px */
.wy-nav-side {
   width: 320px;
}

.wy-side-scroll {
   width: 340px;
}

.wy-side-nav-search {
   width: 320px;
}

.wy-menu-vertical {
   width: 320px;
}

/* (temporarily) add an under development tagline to the bread crumb
.wy-breadcrumbs::after {
   content: " (Content under development)";
   background-color: #FFFACD;
   color: red;
   font-weight: bold;
}
*/

/* code block highlight color in rtd changed to lime green, no no no */

.rst-content tt.literal, .rst-content code.literal, .highlight {
   background: #f0f0f0;
}
.rst-content tt.literal, .rst-content code.literal {
    color: #000000;
}

/* Make the version number more visible */
.wy-side-nav-search>div.version {
    color: rgba(255,255,255,1);
}

/* squish the space between a paragraph before a list */
div > p + ul, div > p + ol {
   margin-top: -20px;
}

/* add some space before the figure caption */
p.caption  {
    border-top: 1px solid;
    margin-top: 1em;
}

/* add a colon after the figure/table number (before the caption) */
span.caption-number::after {
   content: ": ";
}

p.extrafooter {
   text-align: right;
   margin-top: -36px;
}

table.align-center {
   display: table !important;
}


.code-block-caption {
    color: #000;
    font: italic 85%/1 arial,sans-serif;
    padding: 1em 0;
    text-align: center;
}

/*  make .. hlist:: tables fill the page */
table.hlist {
    width: 95% !important;
}

/*  override rtd theme white-space no-wrap in table heading and content  */
th,td {
    white-space: normal !important;
}

/* tweak for doxygen-generated API headings (for RTD theme) */
.rst-content dl.group>dt, .rst-content dl.group>dd>p {
   display:none !important;
}
.rst-content dl.group {
  margin: 0 0 12px 0px;
}
.rst-content dl.group>dd {
  margin-left: 0  !important;
}

/* Mobile-responsive styles for distribution table */
@media screen and (max-width: 768px) {
    /* Stack table cells vertically on mobile */
    table.distribution-table,
    table.distribution-table tbody,
    table.distribution-table tr,
    table.distribution-table td {
        display: block !important;
        width: 100% !important;
    }

    /* Remove table cell borders and padding adjustments */
    table.distribution-table td {
        border: none !important;
        padding: 20px 0 !important;
        text-align: center !important;
    }

    /* Add separator between distribution items */
    table.distribution-table td:not(:last-child) {
        border-bottom: 2px solid #e1e4e8 !important;
        margin-bottom: 20px !important;
        padding-bottom: 30px !important;
    }

    /* Ensure images scale properly on mobile while maintaining aspect ratio */
    table.distribution-table img {
        max-width: 250px !important;
        max-height: 250px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Adjust text sizing for mobile */
    table.distribution-table span[style*="font-size: 20px"] {
        font-size: 18px !important;
    }

    table.distribution-table span[style*="font-size: 15px"] {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }
}
.rst-content p.breathe-sectiondef-title {
  text-decoration: underline;  /* for API sub-headings */
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.rst-content div.breathe-sectiondef {
  padding-left: 0 !important;
}

.clps1 {
  font-size: 175%;
}

.clps2 {
  font-size: 150%;
}

.clps3 {
  font-size: 125%;
}

.clps4 {
  font-size: 115%;
}

.clps5 {
  font-size: 110%;
}

.clps6 {
  font-size: 100%;
}

.collapsible {
  margin-left: -10px;
  background-color: #f1f1f1;
  cursor: pointer;
  padding: 18px 18px 18px 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-weight: 700;
  font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
}

.collapsible:hover {
  background-color: #d8d8d8;
}

.collapsible:after {
  content: '\002B';
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.content-collapse {
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.header__menu_list li {
    display: inline;
    margin-left: 20px;
}
